package com.ccl.bigevent.service;

import com.ccl.bigevent.pojo.Result;
import com.ccl.bigevent.pojo.User;

/**
 * @Title: UserService
 * @Author ccl
 * @Package IntelliJ IDEA
 * @Date 2024/10/7 15:36
 * @description:
 */
public interface UserService {
    Result register(String username, String password);

    void insert(String username, String password);

    User findByUserName(String username);

    Result<String> login(String username, String password);

    Result<User> userInfo(/*String token*/);

    void update(User user);

    void updateAvatar(String avatarUrl);

    void updatePwd( String newPwd);
}
